﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ZR.Model.mes.pro
{
    /// <summary>
    /// 产品定义
    ///</summary>
    [SugarTable("md_product_define")]
    public class MdProductDefine
    {
        /// <summary>
        /// 流水号 
        ///</summary>
        [SugarColumn(ColumnName = "id", IsPrimaryKey = true, IsIdentity = true)]
        public int Id { get; set; }
        /// <summary>
        /// 产品编号 
        ///</summary>
        [SugarColumn(ColumnName = "product_code")]
        public string ProductCode { get; set; }
        /// <summary>
        /// 产品名称 
        ///</summary>
        [SugarColumn(ColumnName = "product_name")]
        public string ProductName { get; set; }
        /// <summary>
        /// 单位id 
        ///</summary>
        [SugarColumn(ColumnName = "product_unit")]
        public int? ProductUnit { get; set; }
        /// <summary>
        /// 工艺路线code 
        ///</summary>
        [SugarColumn(ColumnName = "processRoute_code")]
        public string ProcessrouteCode { get; set; }
        /// <summary>
        /// 工艺路线 
        ///</summary>
        [SugarColumn(ColumnName = "processRoute_name")]
        public string ProcessrouteName { get; set; }
        /// <summary>
        /// 预留字段1 
        ///</summary>
        [SugarColumn(ColumnName = "attre1")]
        public string Attre1 { get; set; }
        /// <summary>
        /// 预留字段2 
        ///</summary>
        [SugarColumn(ColumnName = "attre2")]
        public string Attre2 { get; set; }
        /// <summary>
        /// 预留字段3 
        ///</summary>
        [SugarColumn(ColumnName = "attre3")]
        public string Attre3 { get; set; }
        /// <summary>
        /// 租户号 
        ///</summary>
        [SugarColumn(ColumnName = "TENANT_ID")]
        public string TenantId { get; set; }
        /// <summary>
        /// 乐观锁 
        ///</summary>
        [SugarColumn(ColumnName = "REVISION")]
        public int? Revision { get; set; }
        /// <summary>
        /// 创建人 
        ///</summary>
        [SugarColumn(ColumnName = "CREATED_BY")]
        public string CreatedBy { get; set; }
        /// <summary>
        /// 创建时间 
        ///</summary>
        [SugarColumn(ColumnName = "CREATED_TIME")]
        public DateTime? CreatedTime { get; set; }
        /// <summary>
        /// 更新人 
        ///</summary>
        [SugarColumn(ColumnName = "UPDATED_BY")]
        public string UpdatedBy { get; set; }
        /// <summary>
        /// 更新时间 
        ///</summary>
        [SugarColumn(ColumnName = "UPDATED_TIME")]
        public DateTime? UpdatedTime { get; set; }
    }
}
